#ifndef _SHARED_MEMORY_BUFFER
#define _SHARED_MEMORY_BUFFER

#include <boost/interprocess/sync/interprocess_semaphore.hpp>

struct SharedMemoryBuffer
{
	SharedMemoryBuffer() : writer(1), reader(0), data(0) { }

	boost::interprocess::interprocess_semaphore writer, reader;

	float data;
};

#endif